<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="keywords" content="<?php echo $blog_info['F_BLOG_KEYWORDS']?>"><meta name="description" content="<?php echo $blog_info['F_BLOG_DESCRIPTION'] ?>"><meta name="author" content="杨康(kang.yang)"><meta name="copyright" content="kang-yang.cn 版权所有"><meta name="revisit-after" Content="7 days">
<title><?php 
if(isset($title) && $title==="login"){
	echo "杨康Blog - 登录";
}else if(isset($title) && $title==='about'){
	echo "杨康Blog - 关于我";
}else{
	echo $blog_info['F_BLOG_NAME'];
} 
?></title>
<link rel="stylesheet" type="text/css" href="skins/css/home.css">
<style type="text/css">
.search-suggest { border:1px solid #666; position:absolute; background:#FFFFFF; padding:2px; text-align:left;}
.search-suggest p {padding:2px 4px;}
.search-suggest .current {background:#CCCCCC;}
#ikeywords { height:20px; padding-top:2px;}
</style>
<script type="text/javascript" src="skins/js/core.js"></script>
</head>
<body><div id="container"><div id="header">
<div id="help">
<a href="about.php">关于我</a> |
<?php
if(!isset($_SESSION['User_F_ID']))
{
	echo "<a style=\"margin-right:0\" href=\"login.php\">登录</a>";
}else{
	echo "您好，{$_SESSION['User_Nickname']} <a href=\"admin/index.php\">进入管理</a> <a href=\"logout.php\">退出</a>";
}
?>

</div>
<div id="nav"><ul><?php
foreach($cat1 as $val1){
	if($cat1info['F_ID'] == $val1['F_ID'])
		$current = "class=\"current\"";
	else
		$current = "";
	echo "<li {$current}><a href=\"index.php?Cat1={$val1['F_ID']}\"><strong>{$val1['F_CATEGORIES_NAME']}</strong></a></li>";
}
?></ul></div><h1 title="<?php echo $blog_info['F_BLOG_NAME'] ?>"><a href="http://blog.kang-yang.cn" title="返回blog首页"><?php echo $blog_info['F_BLOG_NAME'] ?></a></h1>
</div>